<?php /* Smarty version 2.6.18, created on 2012-01-26 23:03:03
         compiled from index/box-register.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'index/box-register.tpl', 23, false),array('function', 'html_options', 'index/box-register.tpl', 46, false),array('function', 'captcha', 'index/box-register.tpl', 87, false),)), $this); ?>
<?php echo ''; ?><?php if (! isset ( $_GET['err'] ) || ( isset ( $_GET['err'] ) && $_GET['err'] < 0 )): ?><?php echo ''; ?><?php echo '
    <script type="text/javascript" language="javascript">
        $(document).ready(function() {      			   
			//if(!$.browser.msie) {
                $(\'#pgender\').sSelect();
                $(\'#pyear\').sSelect();
                $(\'#pmonth\').sSelect();
                $(\'#pday\').sSelect();
            //}
        });
    </script>
    '; ?><?php echo ''; ?><?php endif; ?><?php echo '<div id="signupForm" '; ?><?php if (isset ( $_GET['err'] ) && $_GET['err'] > 0): ?><?php echo 'style="display:block;"'; ?><?php endif; ?><?php echo '><div class="signupForm"></div><div class="boxRegister" '; ?><?php if (isset ( $_GET['err'] ) && $_GET['err'] > 0): ?><?php echo 'style="display:block;"'; ?><?php endif; ?><?php echo '><div class="registerItem"><form method="post" id="frmRegister" name="frmRegister" action="'; ?><?php echo @HOST_VFRIEND; ?><?php echo 'index/save" enctype="multipart/form-data"><div class="userInput"><label for="pfirstname" class="text">Họ:</label><input type="text" id="pfirstname" name="pfirstname" class="text" value="'; ?><?php if (isset ( $_SESSION['uinfo']['pfirstname'] )): ?><?php echo ''; ?><?php echo ((is_array($_tmp=$_SESSION['uinfo']['pfirstname'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?><?php echo ''; ?><?php endif; ?><?php echo '"/></div><div class="userInput"><label for="plastname" class="text">Chữ lót &amp; Tên:</label><input type="text" id="plastname" name="plastname" class="text" value="'; ?><?php if (isset ( $_SESSION['uinfo']['plastname'] )): ?><?php echo ''; ?><?php echo ((is_array($_tmp=$_SESSION['uinfo']['plastname'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?><?php echo ''; ?><?php endif; ?><?php echo '"/></div><div class="userInput"><label for="pemail" class="text">Địa chỉ Email:</label><input type="text" id="pemail" name="pemail" class="text" value="'; ?><?php if (isset ( $_SESSION['uinfo']['pemail'] )): ?><?php echo ''; ?><?php echo ((is_array($_tmp=$_SESSION['uinfo']['pemail'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?><?php echo ''; ?><?php endif; ?><?php echo '"/></div><div class="userInput"><label for="ppassword" class="text">Mật khẩu:</label><input type="password" id="ppassword" name="ppassword" class="text"/></div><div class="userInput"><label for="ppassword_confirm" class="text">Xác nhận mật khẩu:</label><input type="password" id="ppassword_confirm" name="ppassword_confirm" class="text"/></div><div class="userInput"><label for="pgender" class="text">Giới tính:</label><select id="pgender" name="pgender"><option value="">Chọn</option>'; ?><?php if (isset ( $_SESSION['uinfo']['pgender'] )): ?><?php echo ''; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrGender'],'selected' => $_SESSION['uinfo']['pgender']), $this);?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrGender']), $this);?><?php echo ''; ?><?php endif; ?><?php echo '</select></div><div class="userInput"><label for="pyear" class="text">Ngày sinh:</label><select id="pyear" name="pyear"><option value="">Năm</option>'; ?><?php if ($_SESSION['uinfo']['pyear']): ?><?php echo ''; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrYear'],'selected' => $_SESSION['uinfo']['pyear']), $this);?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrYear']), $this);?><?php echo ''; ?><?php endif; ?><?php echo '</select><select id="pmonth" name="pmonth"><option value="">Tháng</option>'; ?><?php if (isset ( $_SESSION['uinfo']['pmonth'] )): ?><?php echo ''; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrMonth'],'selected' => $_SESSION['uinfo']['pmonth']), $this);?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrMonth']), $this);?><?php echo ''; ?><?php endif; ?><?php echo '</select><select id="pday" name="pday"><option value="">Ngày</option>'; ?><?php if (isset ( $_SESSION['uinfo']['pday'] )): ?><?php echo ''; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrDay'],'selected' => $_SESSION['uinfo']['pday']), $this);?><?php echo ''; ?><?php else: ?><?php echo ''; ?><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrDay']), $this);?><?php echo ''; ?><?php endif; ?><?php echo '</select></div><div class="userInput"><label for="pcaptcha" class="text">Mã an ninh:</label><input type="text" id="pcaptcha" name="pcaptcha" class="text half" /></div><div class="userInput"><div class="imgCaptcha" id="imgCaptcha">'; ?><?php echo smarty_function_captcha(array(), $this);?><?php echo '</div><div class="imgRefresh"><a href="javascript:refreshCaptcha(\'imgCaptcha\');"><img src="'; ?><?php echo @HOST_STATICS; ?><?php echo 'img/btn/refresh.png" width="32" height="41" alt="" border="0"  /></a></div></div><div class="userInput"><label class="tos"><p>Khi nhấn vào đăng ký bạn đã đồng ý với điều khoản sử dụng website của chúng tôi.</p></label></div><div class="userInput"><div class="errorMessage" '; ?><?php if (isset ( $_GET['err'] )): ?><?php echo 'style="display:block;"'; ?><?php else: ?><?php echo 'style="display:none"'; ?><?php endif; ?><?php echo '>&nbsp;</div><input type="image" src="'; ?><?php echo @HOST_STATICS; ?><?php echo 'img/btn/sign-up-submit.png" class="btn" /></div></form></div></div></div>'; ?>